﻿using MapMaker.Engine.CoreCommon;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MapMaker.Engine.Model.VXAce
{
	public class RPG_BaseItem : RPG
	{
		[RubyProperty("id")]
		public int ID { get; set; }

		[RubyProperty("name")]
		public string Name { get; set; }

		[RubyProperty("icon_index")]
        public int IconIndex { get; set; }

		[RubyProperty("description")]
		public string Description { get; set; }

		[RubyProperty("features")]
		public List<RPG_Feature> Features { get; set; }

		[RubyProperty("note")]
		public string Note { get; set; }

		public class RPG_Feature
		{
			[RubyProperty("code")]
            public int Code { get; set; }

			[RubyProperty("data_id")]
			public int DataID { get; set; }

			[RubyProperty("value")]
            public int Value { get; set; }
		}

		internal static IEnumerable<dynamic> Export(IObjectManager factory, IEnumerable list)
		{
			throw new NotImplementedException();
		}

	}
}
